22
|
Is it possible to let user choose the inserting mode, when he presses Insert key ( method 1 )
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "00:00"
oMaskEdit.Text = "12:3"
oMaskEdit.AllowToggleInsertMode = true
oMaskEdit.InsertMode = 1
|
21
|
Does your control support overtype mode ( method 2 )
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "00:00;;;overtype"
oMaskEdit.Text = "12:3"
|
20
|
Does your control support overtype mode ( method 1 )
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.InsertMode = 1
oMaskEdit.Mask = "00:00"
oMaskEdit.Text = "12:3"
|
19
|
How can I change the colors to show a read only field
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.ForeColorReadOnly = 0xffffff
oMaskEdit.BackColorReadOnly = 0x0
oMaskEdit.ReadOnly = true
oMaskEdit.Text = "text"
|
18
|
How can I lock or make read only the field (method 2)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.ReadOnly = true
oMaskEdit.Text = "text"
|
17
|
How can I lock or make read only the field (method 1)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "*;;;readonly"
oMaskEdit.Text = "text"
|
16
|
Is it possible to mask a password field (method 2)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Right = true
oMaskEdit.Text = "text"
|
15
|
Is it possible to right align field (method 1)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "*;;;right"
oMaskEdit.Text = "text"
|
14
|
Is it possible to mask a password field (method 2)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Password = true
oMaskEdit.Text = "password"
|
13
|
Is it possible to mask a password field (method 1)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "*;;;password"
oMaskEdit.Text = "password"
|
12
|
How can I mask an integer within a range
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "{1950,2050}"
oMaskEdit.Text = Str(1979)
|
11
|
How can I mask an integer value with no grouping support
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = ";;;float,grouping=,decimal=,digits=0,select=1"
oMaskEdit.Text = Str(12345.67)
|
10
|
How can I mask an integer value (method 2)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "-#####;;;float,select=1"
oMaskEdit.Text = Str(-12345.67)
|
9
|
How can I mask an integer value (method 1)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = ";;;float,decimal=,digits=0,select=1"
oMaskEdit.Text = Str(12345.67)
|
8
|
How can I specify the number of digits when masking a float (method 2)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = "###.#;;;float,select=1"
oMaskEdit.Text = Str(12345.67)
|
7
|
How can I specify the number of digits when masking a float (method 1)
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = ";;;float,select=1,digits=1"
oMaskEdit.Text = Str(12345.67)
|
6
|
How do I mask a positive, floating point numbers support, including grouping of digits
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = ";;;float,select=1,negative=0"
oMaskEdit.Text = Str(-12345.67)
|
5
|
How do I mask a floating point numbers support, with a different decimal character
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = ";;;float,grouping= ,decimal=\,,select=1"
oMaskEdit.Text = "12345,67"
|
4
|
How do I mask a floating point numbers support, excluding grouping of digits
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = ";;;float,grouping=,select=1"
oMaskEdit.Text = Str(12345.67)
|
3
|
How do I mask a floating point numbers support, including grouping of digits
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.Mask = ";;;float,select=1"
oMaskEdit.Text = Str(12345.67)
|
2
|
How can I change the control's foreground color
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.ForeColor = 0xff
oMaskEdit.Text = "aka"
|
1
|
How can I change the control's background color
local oMaskEdit
oMaskEdit = form.EXMASKEDITACTIVEXCONTROL1.nativeObject
oMaskEdit.BackColor = 0xff
|